<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    x:Class="OpenLS.Chart.UI.DataPointPropertiesResources"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:chart="http://schemas.Kherty.com/office/2007/chart"
    xmlns:chartui="clr-namespace:OpenLS.Chart.UI"
    xmlns:Internals="clr-namespace:OpenLS.Chart.UI.Internals">
    <DataTemplate DataType="{x:Type chart:DataPoint}">
        <TabControl TabStripPlacement="Left" chartui:ChartElement.ViewModel="{Binding Converter={x:Static Internals:ChartConverters.ViewModelFactory}}">
                <TabItem Header="{x:Static Internals:UIStringTable.Fill}">
                   <!-- <ContentControl Content="{Binding}" ContentTemplate="{x:Static chart:ShapedPropertiesResources.FillPropertiesTemplate}"/> -->
                    <ContentControl Content="{Binding Path=(chart:ChartElement.ViewModel).FillFormatter, RelativeSource={RelativeSource Self}}" />
                </TabItem>
                <TabItem Header="{x:Static Internals:UIStringTable.LineColor}">
                    <GroupBox>
                        <!--<ContentControl Content="{Binding}" ContentTemplate="{x:Static chart:ShapedPropertiesResources.LineFillPropertiesTemplate}"/> -->
                    <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).LineFillFormatter, RelativeSource={RelativeSource Self}}" />

                </GroupBox>
                </TabItem>
                <TabItem Header="{x:Static Internals:UIStringTable.LineStyle}">
                    <GroupBox>
                    <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).LineStyleFormatter, RelativeSource={RelativeSource Self}}" />
                </GroupBox>
                </TabItem>
            </TabControl>
    </DataTemplate>
    
</ResourceDictionary>